<template>
	<navBarBase>
		<!-- <view slot="left">
			<view class="project-selector">
				{{label}}
			</view>
		</view> -->
	</navBarBase>
</template>

<script>
	
	import navBarBase from './custom-nav-bar/nav-bar-base.vue'
	import {
		mapMutations
	} from 'vuex'
	export default {
		components: {
			navBarBase
		},
		props: ['label'],
		data() {
			return {
				
			}
		},
		created() {
			// this.refresh()
		},
		methods: {
			...mapMutations(['setPersonType']),
			
			showProjectPicker() {
				uni.hideTabBar({
					animation: true
				})
				console.log('click')
				this.$emit('show')
				// console.log('clcik')
				// this.$refs.picker.show()
			}
		}
	}
</script>

<style lang="scss" scoped>
	.project-selector {
		color: #fff;
		font-size: 32rpx;
	}

	.project-selector::after {
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		border: 10rpx solid;
		border-color: #fff transparent transparent;
		transform: translate(15rpx, 5rpx);
	}
</style>
